package com.luoke.main;

import com.luoke.connect.GameWebSocketServer;

/**
 * 服务端启动类
 */
public class ServerMain {

    public static void main(String[] args) {
        int port = 8888;
        GameWebSocketServer server = new GameWebSocketServer(port);
        server.setConnectionLostTimeout(300);
        server.start();
        System.out.println("服务器已启动，端口："+port);
    }


}
